<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi">
<title>회원 정보</title>
<style type="text/css">
	.modify_success{
		width:100%;
		border:1px solid #e9e7e7; /*굵기 스타일 색깔*/
		vertical-align:top; 
		text-align:center;
		padding:8px 0;  
		line-height:18px;
		margin-top : 0px;	
		margin-left:0px; 
		border-collapse: collapse;
	}
	.modify_success th{
		width:28%;
		text-indent:28px; 
		border-right: 1px solid #e9e7e7;
		text-align:left; 
		border-bottom:1px solid #e9e7e7;
	}
	.modify_success td{
		vertical-align:bottom; 
		padding:8px 0;  
		line-height:30px;
		border-bottom:1px solid #e9e7e7;
	}
	.modifyName{
		width:25%;
		border-right: 1px solid #e9e7e7;
	}
</style>
</head>
<body>
<form action="" name="form1" method="post" >
	<input type="hidden" name="flag" value="Y">
	<table class="modify_success">
		<tr>
			<th align="left" nowrap>이름</th>
			<td align="left" nowrap width="20" class="modifyName">
				<c:out value="${login_info.name} "/>
			</td>
			<th align="left" nowrap width="20">주민등록번호</th>
			<td align="left" nowrap>&nbsp;
				<c:out value="${login_info.registration_number1} "/>
				-<c:out value="${login_info.registration_number2} "/>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>아이디</th>
			<td colspan="4" align="left" nowrap>
				<c:out value="${login_info.member_id }"/>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>비밀번호</th>
			<td align="left" colspan="4">
				<c:out value="${login_info.memScrtNo}"/>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>이메일주소</th>
			<td align="left" colspan="3" nowrap>
				<c:out value="${login_info.email }"/>&nbsp;@&nbsp;
				<c:out value="${login_info.email_type }"/>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap="nowrap">성별</th>
			<td align="left" nowrap="nowrap" colspan="3">
				<c:choose>
					<c:when test="${login_info.gender eq 'M' }">
						<c:out value="남자"/>
					</c:when>
					<c:when test="${login_info.gender eq 'F' }">
						<c:out value="여자"/>
					</c:when>
				</c:choose>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap="nowrap">이메일수신여부</th>
			<td align="left" nowrap="nowrap" colspan="3">
				<c:choose>
					<c:when test="${login_info.email_flag eq 'Y' }">
						<c:out value="수신동의"/>
					</c:when>
					<c:when test="${login_info.email_flag eq 'N' }">
						<c:out value="수신하지 않음"/>
					</c:when>
				</c:choose>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap="nowrap">전화번호</th>
			<td align="left" colspan="3" nowrap="nowrap">
				<c:out value="${login_info.tel_no01 }"/>
				-<c:out value="${login_info.tel_no02 }"/>
				-<c:out value="${login_info.tel_no03 }"/>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap="nowrap">휴대폰번호</th>
			<td align="left" nowrap="nowrap" colspan="3" >
				<c:out value="${login_info.press_association }"/>&nbsp;&nbsp;
				<c:out value="${login_info.phone_no01 }"/>
				-<c:out value="${login_info.phone_no02 }"/>
				-<c:out value="${login_info.phone_no03 }"/>
			</td>
		</tr>
		<tr>
			<th>우편 번호</th>
			<td align="left" nowrap="nowrap" colspan="3">
				<c:out value="${login_info.zipcode1 }"/>
				-<c:out value="${login_info.zipcode2 }"/><br>
			</td>
		</tr>
		<tr>
			<th nowrap="nowrap">주소</th>
			<td align="left" nowrap="nowrap" colspan="3">
				<c:out value="${login_info.address }"/>&nbsp;&nbsp;&nbsp;
				<c:out value="${login_info.address_detail }"/>
			</td>
		</tr>
		<c:if test="${not empty login_info.picture_name }">
			<tr>
				<th align="left" nowrap="nowrap">사진</th>
				<td align="left" nowrap="nowrap" colspan="3">
					<img src="imgView.do?fileName=${login_info.picture_name}" width="300" height="300">
				</td>
			</tr>
		</c:if>
	</table>
</form>
</body>
</html>